/*
 * Objekt, um die Artikel eines Feeds abzubilden
 * Klasse ist ein reines POJO - besteht also nur aus Konstruktoren, Settern und Gettern der Attribute
 */

package com.objects;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author admin
 */
public class entry implements Serializable{

    //eindeutige ID des Artikels (aus DB)
    private int Entryid;
    //Name des Artikels
    private String Entryname;
    //ID des Feeds des Artikels
    private int Feedid;
    //Inhalt bzw. Beschreibung des Artikels aus dem Feed
    private String Entrycontents;
    //Publikationsdatum des Artikels
    private Date Entrydate;
    //URL des Artikels
    private String EntryURL;


    public entry(int entryid,String entryname,int feedid,String entrycontents,Date entrydate,String entryurl)
    {
        this.setEntryid(entryid);
        this.setEntryname(entryname);
        this.setFeedid(feedid);
        this.setEntrycontents(entrycontents);
        this.setEntrydate(entrydate);
        this.setEntryURL(entryurl);
    }

      public entry(String entryname,int feedid,String entrycontents,Date entrydate,String entryurl)
    {
        this.setEntryname(entryname);
        this.setFeedid(feedid);
        this.setEntrycontents(entrycontents);
        this.setEntrydate(entrydate);
        this.setEntryURL(entryurl);
    }

    public entry() {
        
    }

    /**
     * @return the Entryid
     */
    public int getEntryid() {
        return Entryid;
    }

    /**
     * @param Entryid the Entryid to set
     */
    public void setEntryid(int Entryid) {
        this.Entryid = Entryid;
    }

    /**
     * @return the Entryname
     */
    public String getEntryname() {
        return Entryname;
    }

    /**
     * @param Entryname the Entryname to set
     */
    public void setEntryname(String Entryname) {
        this.Entryname = Entryname;
    }

    /**
     * @return the Feedid
     */
    public int getFeedid() {
        return Feedid;
    }

    /**
     * @param Feedid the Feedid to set
     */
    public void setFeedid(int Feedid) {
        this.Feedid = Feedid;
    }

    /**
     * @return the Entrycontents
     */
    public String getEntrycontents() {
        return Entrycontents;
    }

    /**
     * @param Entrycontents the Entrycontents to set
     */
    public void setEntrycontents(String Entrycontents) {
        this.Entrycontents = Entrycontents;
    }

    /**
     * @return the Entrydate
     */
    public Date getEntrydate() {
        return Entrydate;
    }

    /**
     * @param Entrydate the Entrydate to set
     */
    public void setEntrydate(Date Entrydate) {
        this.Entrydate = Entrydate;
    }

    /**
     * @return the EntryURL
     */
    public String getEntryURL() {
        return EntryURL;
    }

    /**
     * @param EntryURL the EntryURL to set
     */
    public void setEntryURL(String EntryURL) {
        this.EntryURL = EntryURL;
    }

   

}
